Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

fix: use std::invoke_result instead of std::result_of #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trezz
Copy link

@trezz trezz commented Jan 13, 2022

std::result_of was deprecated in c++17 and removed in c++20.

This PR configures the project to use c++17 if the compiler supports it and use std::invoke_result instead of std::result_of.

If the compiler doesn't support c++17, the project is configured to fallback to c++11 and still use std::result_of.

std::result_of was deprecated in c++17 and removed in c++20. This commit
configures the project to use c++17 if the compiler supports it and use
std::invoke_result instead of std::result_of.

If the compiler doesn't support c++17, the project is configured to fallback to
c++11 and still use std::result_of.
@perseoGI
Copy link

perseoGI commented Sep 1, 2023

Any update on this????

@perseoGI
Copy link

Is anyone taking care of this library?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants